interface A{
    void eat();
}
public class Demo3 {
    public static void main(String[] args) {
        int b = 10;
        A a = () -> {
            //b = 3;
            System.out.println(b);
        };
        a.eat();
    }
}
